package com.rainbow.validate

import org.springframework.web.context.request.ServletWebRequest

interface ValidateCodeProcessor {

    /**
     * 创建校验码
     */
    fun create(request: ServletWebRequest)

    /**
     * 校验验证码
     */
    fun validate(request: ServletWebRequest)
}